#!/usr/bin/env python
#!coding:utf-8

from rest_framework import serializers
from django.contrib.auth import get_user_model

User=get_user_model()

class UserSerializer(serializers.ModelSerializer):
	class Meta:
		model=User
		fields=['uid','telephone','username','email','avator','date_joined','is_active']